home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-11
/
dayocal.zip
/
DAYOCAL.DOC
< prev
next >
Wrap
Text File
|
1993-01-04
|
5KB
|
113 lines
DAYO CALENDAR
Program: DAYOCAL.PRG Library: DAYOC.LIB
Module of the DAYO System
Copyright (c) 1989, TJS LAB
Last Modified: 07/29/89
This Program is provided to you to demonstrate the use of various Clipper
User Defined Functions (UDFs) found in DAYOC.LIB.
DAYOCAL is a multiuser Appointment Calendar, Calendar Printer, and a basic
Client/Customer maintenance routine.
----------------------------------------------------------------------------
MAIN FUNCTIONS:
CALENDAR(DATE,CURSOR ROW,CURSOR COLUMN) Draws a calendar onto the
screen
CINDEX(DATABASE NAME,INDEX NAME,INDEX KEY) 'Visual' indexing of character
based indexes
F_EDIT() Full screen edit of up to 36
fields. Uses current record
F_USENET(DATABASE NAME, LOGICAL, RETRIES) Open a database in either
exclusive or sharable mode
FINDER(PARM) Creates a default prompt to
set the index order whenever
more than one index is open
FLABEL() Prints Standard 3.5 X 15/16
Labels for either BILL TO or
SHIP TO address. Must use the
Fields (& Type) found in the
CUSTOMER database supplied...
FOPENDB(PARM) Opens a database and sets the
indexes. Uses CINDEX() &
F_NETUSE()
JULIAN(DATE) Returns the julian date as a 3
character variable
PCAL(DATE,CURSOR ROW,CURSOR COLUMN) Creates a calendar prompt of
any month. Returns the Date
selected. Uses PMONTH(),
NMONTH(), PYEAR(), NYEAR()
These functions skip month or
year...
PRNBLANK(TYPE,WIDTH,LINES PER PAGE) Prints a blank calendar
PRNMONTH(DATE,STOPDATE,TYPE,WIDTH,LPP) Print a monthly calendar
for each month withing the
span of the dates passed it
PRNWEEKB(TYPE,WIDTH,LINES PER PAGE) Prints a blank weekly calendar
PRTORFIL(DATE) Prompt to print to PRINTER or
FILE
STANDBY(MESSAGE) Message displayed onto the
screen
WHATINDX(PARM1,PARM2,PARM3,PARM4,PARM5) Prompt to select one of up to
5 indexes
----------------------------------------------------------------------------
Whenever you call CALENDAR() or PCAL(), the variable containing the date
passed to these functions must be declared and named: TDATE . The functions
check to see if the date passed (TDATE) is equal to what is being placed onto
the screen, and if so, highlights it...
----------------------------------------------------------------------------
* * * To create an executable file from the DAYOCAL.OBJ & DAYOC.LIB, link
the files with Plink86, Link, or TLink.
IE: PLINK86 DAYOCAL NDX LIB CLIPPER DAYOC EXTEND
LINK DAYOCAL+NDX,DAYOCAL,NUL,CLIPPER DAYOC EXTEND
TLINK DAYOCAL+NDX,,,CLIPPER DAYOC EXTEND
We used the following method to compile create the library & executable:
CLIPPER DAYOC -l
LIB DAYOC -+DAYOC,DAYC.LST,DAYOC
CLIPPER DAYOCAL -l
TLINK DAYOCAL+NDX,,,\CLIPPER\CLIPPER DAYOC \CLIPPER\EXTEND
DAYOCAL
----------------------------------------------------------------------------
This product is shareware, but for $25.00 I will send you the total source
to the program and library (all in Clipper Source Code).
Mail Check or Money Order to:
TJS LAB
ATTN: DAYO SALES
PO BOX 5366
ORLANDO, FLORIDA 32858-5366
Thank You,
TJS LAB